{% block sw_entity_multi_id_select %}
<sw-entity-multi-select
    :entity-collection="collection"
    :context="context"
    :criteria="criteria"
    :disabled="disabled"
    v-bind="$attrs"
    @update:entity-collection="updateIds"
>

    {% block sw_entity_multi_id_select_label_property %}
    <template #selection-label-property="{ item, index, labelProperty, valueProperty }">
        <slot
            name="selection-label-property"
            v-bind="{ item, index, labelProperty, valueProperty }"
        ></slot>
    </template>
    {% endblock %}

    {% block sw_entity_multi_id_select_results_list_before %}
    <template #before-item-list>
        <slot name="before-item-list"></slot>
    </template>
    {% endblock %}

    {% block sw_entity_multi_id_select_results_list_result_label %}
    <template #result-label-property="{ item, index, labelProperty, valueProperty, searchTerm, getKey, highlightSearchTerm }">
        <slot
            name="result-label-property"
            v-bind="{ item, index, labelProperty, valueProperty, searchTerm, getKey, highlightSearchTerm }"
        ></slot>
    </template>
    {% endblock %}

    {% block sw_entity_multi_id_select_results_list_result_description %}
    <template #result-description-property="{ item, searchTerm, highlightSearchTerm }">
        <slot
            name="result-description-property"
            v-bind="{ item, searchTerm, highlightSearchTerm }"
        ></slot>
    </template>
    {% endblock %}

    {% block sw_entity_multi_id_select_results_list_after %}
    <template #after-item-list>
        <slot name="after-item-list"></slot>
    </template>
    {% endblock %}

    <template #label>
        <slot name="label"></slot>
    </template>

    <template #hint>
        <slot name="hint"></slot>
    </template>
</sw-entity-multi-select>
{% endblock %}
